import React, { Component } from 'react'

export default class son extends Component {

    constructor(props) {
        super(props);
        console.log("this.props",this.props);
    }
  render() {
    return (
        <div>
            <h3>子组件</h3>
            <p>1</p>
            <p>2</p>
              {this.props.children}
            {this.props.s1}
            <p>3</p>
            <p>4</p>
      </div>
    )
  }
}
